June 14, 2019
v3 SendSMS
Description:
Send a text (SMS) or multi-media message (MMS)
URI:
https://api.multitel.net/v3/sendsms
Parameters:
Required: from - your SMS enabled phone number to - destination number text - text message we will be sending Optional: media - base64 encoded image (jpg/png) notifyurl - if provided, we will post back any status changes to this URL. (example: https://customer-crm.xyz/notify-handler ) reference - your own reference ; will be useful since you might have several messages with the same from/to parameters ; passing the reference parameter will help you identify which message the status update is for
Methods:
POST
Sample Output:
{ "status": { "code":"200", "msg":"" }, "response": { "status":"Success", "message":"Message queued", "causecode":0, "uniqueid":"eba01f56-1fbe-4aac-9ff7-4a6b9e00001", "cost":0.015, "chars":0, "parts":1, "permsg":0.015, "pid":"ZQF88E7031eba01f56-1fbe-4aac-9ff7-4a6b9e00001" } }
Sample code:
! note: change the YOURUSERNAME and YOURPASSWORD keywords with your own username/password